package com.cheng.service;

import com.cheng.common.exception.CommonException;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author: ChengJW
 * @date: 2021/11/24 8:00
 * @version: 1.0
 * @description: 文件上传
 */
public interface ComUploadService {

    /**
    * @author: ChengJW
    * @params: [file]
    * @return: java.lang.String
    * @date: 2021/11/24
    * @description:  上传文件，并回传文件存储名称
    */
    String uploadFile(MultipartFile file) throws CommonException;
}
